package gooner.suntine.ssh.eg.dao;

import gooner.suntine.ssh.eg.entity.Student;

import java.util.List;


/**
 * @corporation 
 * @author suntine
 * @creation 2011-5-5 10:15:22 AM
 * @description 
 */
public interface StudentDao {
	
	//create
    public void save(Student student);
    
    //delete
    public void delete(Student student);
    public void deleteById(int id);
    
    //read
	public List<Student> queryByHql(String hql);
    public Student get(int id);
	
    //update
    public void update(Student student);
}
